package org.budo.graph.repository;

import java.sql.Timestamp;
import java.util.Map;

/**
 * @author lmw
 */
public interface BudoGraphRepository {
    /**
     * 写数据
     */
    void writeData(String graphType, String app, String item, Map<String, String> minusMap, Timestamp now);

    /**
     * 读数据
     */
    Map<Double, Object> readLine(String graphType, String app, String item);

    /**
     * 清理数据
     */
    Long removeData(String type, String applicationName, String host, Long from, Long to);

    /**
     * 读数据总览
     */
    Map<String, Object> readTableMapList();
}